package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.core.system.vo.ApiTreeNode;
import com.hjx.movie.persistence.system.model.IvyApi;

import java.util.List;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/1/8 - 16:24
 */
public interface IApiService extends IService<IvyApi> {
    List<ApiTreeNode> selectApiTree(Long rootApiId, String apiNameLike, Boolean apiStatus);
    boolean addApi(IvyApi api);
    boolean deleteApi(Long apiId);
    boolean updateApi(IvyApi api);
    List<Long> findApiExpandedKeys();
    List<Long> findApiCheckedKeys(Long roleId);
}
